package net.yla.smartbus.module.ba.area.mapper;

import com.alibaba.fastjson.JSONObject;
import net.yla.smartbus.module.ba.area.entity.Areas;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Date: 2020-09-21 10:07
 * @Author: Being Nobody
 * @Version: 1.0
 */
@Repository
public interface AreasMapper {

    String nativeName(Integer areaId);

    List<JSONObject> nativePlaces();


    Integer getArea(@Param("name") String name);

    int addAreas(Areas areas);
}
